package cn.lg.soar.mvc.enums;

import cn.lg.soar.common.annotations.DictDefine;
import cn.lg.soar.common.data.dict.IDict;
import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/9/5 18:16
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@DictDefine(name = "日志入参记录模式")
public enum LogArgsModeEnum implements IDict<Integer>, IEnum<Integer> {

    not("不记录", 0),
    el("el表达式", 1),
    index("索引", 2),
    args("所有参数", 3),
    ;
    LogArgsModeEnum(String label, int value){
        this.label = label;
        this.value = value;
    }

    private final String label;
    private final int value;
    @Override
    public Integer getValue() {
        return this.value;
    }
    @Override
    public String getLabel() {
        return this.label;
    }
}
